﻿using UnityEngine;
using System.Collections;

public class StatBtns : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

    void StatBtn()
    {
        transform.FindChild("Grave").gameObject.SetActive(false);
        transform.FindChild("Stat").gameObject.SetActive(true);
        transform.FindChild("Backgrounds").FindChild("Highlighter").transform.localPosition = new Vector3(-309.8f, 290.3999f);
    }

    void GraveBtn()
    {
        transform.FindChild("Stat").gameObject.SetActive(false);
        transform.FindChild("Grave").gameObject.SetActive(true);
        transform.FindChild("Backgrounds").FindChild("Highlighter").transform.localPosition = new Vector3(-212.5f, 290.3999f);
    }
}
